|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<SessionDefaultAudience>
com.facebook.SessionDefaultAudience
public enum SessionDefaultAudience
Certain operations such as publishing a status or publishing a photo require an audience. When the user grants an application permission to perform a publish operation, a default audience is selected as the publication ceiling for the application. This enumerated value allows the application to select which audience to ask the user to grant publish permission for.
| Enum Constant Summary | |
|---|---|
EVERYONE
Indicates that all Facebook users are able to see posts made by the application. |
|
FRIENDS
Indicates that the user's friends are able to see posts made by the application. |
|
NONE
Represents an invalid default audience value, can be used when only reading. |
|
ONLY_ME
Indicates only the user is able to see posts made by the application. |
|
| Method Summary | |
|---|---|
static SessionDefaultAudience |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SessionDefaultAudience[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final SessionDefaultAudience NONE
public static final SessionDefaultAudience ONLY_ME
public static final SessionDefaultAudience FRIENDS
public static final SessionDefaultAudience EVERYONE
| Method Detail |
|---|
public static SessionDefaultAudience[] values()
for (SessionDefaultAudience c : SessionDefaultAudience.values()) System.out.println(c);
public static SessionDefaultAudience valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||